package com.bsj.travel.mapper.mysql;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bsj.travel.def.common.DO.ProductTopicDO;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author yinhao
 * @version 1.0
 * @description
 * @date 2023/11/23
 */
@Repository
@DS("master")
public interface ProductTopicMapper extends BaseMapper<ProductTopicDO> {

    List<ProductTopicDO> queryTopicByProductId(Long productId);
}
